cat $1 | \
     sed 's/^int /__attribute__((visibility("hidden"))) int /' | \
     sed 's/^void /__attribute__((visibility("hidden"))) void /' > \
     $2
